package com.xbxkj.zipkin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import zipkin2.server.internal.EnableZipkinServer;

/**
 * Created by Zhang on 2018/8/4.
 * springboot启动类
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableEurekaClient
@EnableZipkinServer
@ComponentScan(basePackages = {"com.xbxkj.zipkin" })
public class ZipkinApplication {
    public  static  void main(String [] args){
        SpringApplication.run(ZipkinApplication.class,args);
    }
}